import { createPinia } from "pinia";

////引入pinia插件.、刷新不会丢失
import piniaPluginPersist from 'pinia-plugin-persist'


//创建pinia对象
const pinia = createPinia();
//使用插件
pinia.use(piniaPluginPersist)
export default pinia;